package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Food;

import java.util.List;

/**
 * @author houzongtao
 * @date 2020/9/1 14:42
 */
public interface FoodService {
    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void add(Food food);

    void batchAdd(List<Food> foodList);

    Food findById(Integer id);

    void edit(Food food);

    void delete(Integer id);
}
